package com.jlpay.open.jlpay.sdk.java.model.ledger.request;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.jlpay.open.jlpay.sdk.java.model.ledger.LedgerBaseRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 *
 * @author dengwenning
 * @since 2024/8/30
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class BalanceSplitQueryRequest extends LedgerBaseRequest {

    /**
     * 商户分账单号
     * 接入方系统生成的分账请求单号（商户分账单号和嘉联分账单号，二者必填其一），
     * 示例值：20201115141300228899
     */
    private String outOrderNo;

    /**
     * 嘉联分账单号
     * 分账系统生成的单号，
     * 示例值：61109827766780299776
     */
    private String orderNo;

    @Override
    public String path() {
        return "/open/ledger/balance/split/query";
    }

}
